package com.yc.game.service.impl;

import com.yc.game.dao.UserInfoMapper;
import com.yc.game.service.UserInfoService;
import com.yc.game.vo.UserInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserInfoServiceImpl implements UserInfoService {
    @Autowired
    private UserInfoMapper userInfoMapper;

    /**
     * 查询用户基本信息
     * @param email
     * @return
     */
    @Override
    public UserInfo getByEmail(String email) {
        return userInfoMapper.getByEmail(email);
    }
}
